-- GENERATED SPELL FOR [Ferocious Rage Scar] --


function spell0_5299(pUnit, Event) --@Rend Flesh,n/a--
pUnit:FullCastSpellOnTarget(3147,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_5299', 12000, 1)
end

function Sorts_5299(pUnit, Event)
local choix_sorts_5299 = math.random(0, 0)
if choix_sorts_5299 == 0 then
pUnit:RegisterEvent('spell0_5299', 1, 1)
end
end

function mob5299_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_5299', math.random(1500, 3000), 1)
end

function mob5299_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5299_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5299_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(5299, 1, 'mob5299_Action')
RegisterUnitEvent(5299, 2, 'mob5299_Leave')
RegisterUnitEvent(5299, 3, 'mob5299_Kill')
RegisterUnitEvent(5299, 4, 'mob5299_Die')
